<template>
	<view>
		<view class="header">
			<view class="header_z" v-for="(items,index) in dataTop" :key="index">
				<view class="name">{{items.name}}</view>
				<view class="line"></view>
				<view class="alias">{{items.alias}}</view>
			</view>
			<view class="header_y">
				<view class="header_photo"></view>
				<view class="iconfont"></view>
			</view>
		</view>
		<view class="xpadding"></view>
		<view class="content">
			<view class="content_list" v-for="(items,index) in footerData" :key="index">
				<view class="list_text">
					{{items.title}}
				</view>
				<view class="list_content">
					<view>{{items.content}}</view>
					<view class="iconfont"></view>
				</view>
			</view>
			<view class="content_check">
				<view class="check_li" v-for="(items,index) in checkData" :key="index">
					<view class="check_l">
						
					</view>
					<view class="check_r">
						{{items.title}}
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dataTop:[
					{name:'张青',alias:'张师傅'}
				],
				footerData:[
					{title:'员工电话 :',content:'15888888888'},
					{title:'员工生日 :',content:'1998/18/18'},
					{title:'员工性别 :',content:'男'},
					{title:'证件号码 :',content:'421102199508233226'},
					{title:'入职日期 :',content:'1555/09/09'},
					{title:'家庭住址 :',content:'湖北省武汉市洪山'},
					{title:'是否工人 :',content:'是'}
				],
				checkData:[
					{title:'水电工'},
					{title:'泥工'},
					{title:'木工'},
					{title:'油漆工'}
				]
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	page{
		background-color: #f5f5f5;
	}
	.header{
		width: 690upx;
		padding: 0 30upx;
		height: 149upx;
		display: flex;
		justify-content: space-between;
		align-items: center;
		background-color: #ffffff;
		.header_z{
			display: flex;
			flex-direction: row;
			align-items: center;
			.name{
				font-size: 36upx;
				color: #333333;
			}
			.line{
				width: 2upx;
				height:30upx;
				background: rgba(51,51,51,1);
				display: flex;
				align-items:flex-end; 
				margin-left: 14upx;
			}
			.alias{
				font-size: 24upx;
				color: #666666;
				margin-left: 14upx;
			}
		}
		.header_y{
			//margin-left: auto;
			.header_photo{
				
				width: 98upx;
				height: 98upx;
				background-color: #1b82d1;
			}
			.iconfont{
				
			}
		}
	}
	.content{
		width: 100%;
		background-color: #ffffff;
		.content_list{
			width: 690upx;
			margin: 0 30upx;
			height: 88upx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			border-bottom: 1px solid #f1f1f1;
			.list_text{
				color: #333333;
				font-size: 30upx;
			}
			.list_content{
				color: #666666;
				font-size: 30upx;
				margin-right: 25upx;
				.iconfont{
					
				}
			}
			
		}
		.content_check{
			width: 522upx;
			margin: 0 30upx;
			height: 88upx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin-left: 168upx;
			.check_li{
				display: flex;
				align-items: center;
				.check_l{
					width: 22upx;
					height: 22upx;
					background-color: #1b82d1;
					margin-right: 9upx;
					border-radius: 50%;
				}
				.check_r{
					font-size: 30upx;
					color: #666666;
				}
			}
		}
	}
</style>
